import Vuex from "vuex"
import Vue from 'vue'
import sys from './modules/sys';
import dict from './modules/dict'
import tagsView from './modules/tagsView.js'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        locationArr: [],
    },
    mutations: {
        setLocationArr(state, locationArr) {
            state.locationArr = locationArr;
        },
    },
	modules: {
	    sys,
		dict,
		tagsView,
	}
})